This Genie will reposition all the objects in the current selection. Objects will be spaced out by a user-specified distance. Distance can be set between left, right, top, or bottom edges, object centers, or objects.
*/
msg = PDSetup.rexx(2,0)
units = getclip(pds_units)
if msg ~= 1 then exit_msg(msg)
cr = '0a'x
signal on halt
signal on break_c
signal on break_e
signal on break_d
if pdm_NumSelObjs() = 0 then exit_msg("Please select a group of objects first")